package org.smartagents.body;

import org.smartagents.global.Trigerable;


public class Brain extends Trigerable {

    private Neurone cortex = new Neurone();

    public Neurone getCortex() {
        return cortex;
    }

    public void setCortex(Neurone cortex) {
        this.cortex = cortex;
    }

    @Override
    public void trigger(String impulse) {        
        cortex.trigger(impulse);
    }

    @Override
    public void tick() {
        cortex.tick();
    }
}
